package cn.lxb.netstatagent;

import java.net.InetSocketAddress;
import java.net.SocketTimeoutException;

public class MySocket {
	public boolean connect(InetSocketAddress endpoint, int timeout) throws SocketTimeoutException {
		if(endpoint.getPort()==8077) {
			throw new SocketTimeoutException("test");
		}
		System.out.println("MySocket.Connect:" + endpoint);
		return true;
	}
}
